package com.gs.service.user;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gs.dao.UserDao;
import com.gs.pojo.User;

@Service("userService")
public class UserServiceImpl implements UserService{
	@Resource
	private UserDao userDao;
	
	@Override
	public User login(String userName, String password) {
		return userDao.login(userName, password);
	}

}
